package com.tiansu.reborn.wanda.modules.executor.entity;

import lombok.Data;
import org.joda.time.DateTime;

import java.util.Date;

@Data
public class SampleValueEntity {

    private Date timeid;

    private String timestr;

    private Double samplevalue;

    public String getTimestr() {
        return new DateTime(timeid).toString("yyyy-MM-dd HH:mm:ss");
    }
}
